<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>展位管理</title>
<link href="__ROOT__Application/Home/View/default/css/booth_management.css" rel="stylesheet">
<script src="__ROOT__Application/Home/View/default/js/respond.js"></script>
<script src="__ROOT__Application/Home/View/default/js/jquery1.9.1.js"></script>
<script src="__ROOT__Application/Home/View/default/js/input.js"></script>
</head>

<body>
<div class="top">
	<div class="width_1200_1420">
    	<ul>
            <li><a href="#">智诚首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
            <li><a href="#">OA系统</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
            <li><a href="#">退出</a></li>
        </ul>
        <p class="top_p">服务电话：400-686868</p>
    </div>
</div>

<div class="content">
	<div class="width_1200_1420">
    	<div class="nav">
            <div class="logo">
                <img src="__ROOT__Application/Home/View/default/img/logo.png">
            </div>
            <ul class="ul_nav">
                <li><a href="#">首页</a></li>
                <li><a  href="{:U('Customermanagement/customer_management')}">客户管理</a></li>
                <li><a class="sel" href="{:U('Boothmanagement/booth_management')}">展位管理</a></li>
                <li><a href="{:U('Productmanagement/product_management')}">产品管理</a></li>
                <li><a href="{:U('Administrator/administrator_management')}">管理员</a></li>
            </ul> 
            <div class="right">
                <img class="yuan" src="__ROOT__Application/Home/View/default/img/right.png">
                <span>粹一文化…</span>
                <div class="xiala">
                    <img id="xia_img" class="xia" src="__ROOT__Application/Home/View/default/img/xia.png">
                    <div class="select"></div>
                </div>
            </div>
        </div>
        <script>
        $(".ul_nav li a").click(function(){
            $(this).addClass("sel").parent().siblings().find("a").removeClass("sel");
        })
        $("#xia_img").click(function(){
            if($(".select").css("display") == "none"){
                $(".select").show();
                $(this).addClass("hover");
            }else{
                $(".select").hide();
                $(this).removeClass("hover");
            }
            
        })
        $(".select").hover(function(){
            $(this).show();
        },function(){
            $(this).hide();
            $("#xia_img").removeClass("hover");
        });
    </script>
	</div>
</div>
	<div class="width_1200_1420">
        <div class="chaxun">
    		<p class="tab"><a href="{:U('Boothmanagement/booth_review')}">展位审核</a></p>
            <p class="tab sel">展位管理</p>
            <a href="javascript:;" id="search" url="{:U('Boothmanagement/booth_management')}"><span class="suosou">搜素</span></a>
            <input type="text" class="my_input" name="name" value="" placeholder="请输入展位ID/展位名称">
             <span class="kehu">展位查询</span>
    	</div>
        
       
       <!--  table  -->
        <table>
        	<tr>
            	<th>编号</th>
                <th>客户名称</th>
                <th>联系地址</th>
                <th>联系方式</th>
                <th>联系人</th>
                <th>联系电话</th>
                <th>展位管理</th>
                <th>产品管理</th>
                <th>管理员</th>
                <th>操作</th>
            </tr>
            <notempty name="boothmanagement">
			<volist name="boothmanagement" id="customer_info">
            <tr>
            	<td>{$customer_info.uid}</td>
                <td>{$customer_info.name}</td>
                <td>{$customer_info.address}</td>
                <td>{$customer_info.phone}</td>
                <td>{$customer_info.contact}</td>
                <td>{$customer_info.phone}</td>
                <td>{$customer_info.chuanzhen}</td>
                <td>{$customer_info.city}</td>
                
                <td><a title="{$customer_info.status}" href="{:U('pingbi?ids='.$customer_info['uid'].'&status='.abs(1-$customer_info['status']))}" ><span id="pinbi">屏蔽</span></a><a href="{:U('del?uid='.$customer_info['uid'])}" title="删除"><span id="shanchu" >删除</span></a></td>
            </tr>
			</volist>
			<else/>
			<td colspan="10" class="text-center"> 你好暂时还没有内容! </td>
		    </notempty>
            
        </table>
        <p class="page"><span class="prev">上一页</span><span class="select">2</span>/<span class="zongshu">26</span>
        <span class="next">下一页</span></p>
		<div class="page">
	        {$_page}
	    </div>
    </div>


<!--  bottom  -->
<div class="footer">
	<div class="width_1200_1420">
    	<ul class="list">
        	<li class="list_li">企业中心
            	<ul>
                	<li><a href="#">我要入驻</a></li>
                    <li><a href="#">入驻须知</a></li>
                    <li><a href="#">服务条款</a></li>
                    <li><a href="#">网展助手</a></li>
                    <li><a href="#">问讯处</a></li>
                </ul>
            </li>
            <li class="list_li">关于我们
            	<ul>
                	<li><a href="#">关于网展</a></li>
                    <li><a href="#">合作伙伴</a></li>
                    <li><a href="#">联系方式</a></li>
                    <li><a href="#">合作渠道</a></li>
                    <li><a href="#">招贤纳士</a></li>
                </ul>
            </li>
            <li class="list_li">战略优势
            	<ul>
                	<li><a href="#">全景和虚拟现实服务平台</a></li>
                    <li><a href="#">完整商务功能新型VR全景展示</a></li>
                    <li><a href="#">支持各移动终端设备</a></li>
                </ul>
            </li>
        </ul>
        
        <div class="erweima">
        	<p>微信扫描关注</p>
            <img src="../img/二维码.png">
        </div>
    </div>
    
    <div class="xinxi">&copy;版权所有 2009-2016 北京智诚有限公司   www.gscity.com</div>
</div>

<block name="script">
<script type="text/javascript">
$(function(){
	//搜索功能
	$("#search").click(function(){
		var url = $(this).attr('url');
        var query  = $('.chaxun').find('input').serialize(); 
        query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
        query = query.replace(/^&/g,'');
        if( url.indexOf('?')>0 ){
            url += '&' + query;
        }else{
            url += '?' + query;
        }
		window.location.href = url;
	});
	//回车搜索
	$(".my_input").keyup(function(e){
		if(e.keyCode === 13){
			$("#search").click();
			return false;
		}
	});
	
});
</script>
</block>
</body>
</html>

        
